package coder.nav.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class NavTaskQueryBO implements Serializable {

    @ApiModelProperty("当前页")
    private Integer pageIndex = 1;

    @ApiModelProperty("页面大小")
    private Integer pageSize = 20;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String context;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startDate;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endDate;

}
